﻿@model HotelMgr.Models.RoomType

@{
    ViewBag.Title = "Browse Rooms";
}

<div class ="roomtype">
    <h3><em>@Model.TypeName</em>:</h3>
    <ul id="room-list">
        @foreach (var room in Model.Rooms)
        {
            @*<li>@Html.ActionLink(room.RoomID, "Details", new { id=room.RoomID})</li>*@
            <li>
                <a href="@Url.Action("Details",new{id=room.RoomID})">
                    <img alt="@room.RoomID" src="@Url.Content("~"+room.RoomUrl)"/>
                    <span>@room.RoomID</span>
                </a>
            </li>
        }
    </ul>
</div>